<div class="employeedetails index">
	<h2><?php __('Employeedetails');?></h2>
	<table cellpadding="0" cellspacing="0">
	<tr>
			<th><?php echo $this->Paginator->sort('id');?></th>
			<th><?php echo $this->Paginator->sort('login');?></th>
			<th><?php echo $this->Paginator->sort('phone');?></th>
			<th><?php echo $this->Paginator->sort('mobilephone');?></th>
			<th><?php echo $this->Paginator->sort('umts');?></th>
			<th><?php echo $this->Paginator->sort('seat');?></th>
			<th><?php echo $this->Paginator->sort('created');?></th>
			<th><?php echo $this->Paginator->sort('modified');?></th>
			<th><?php echo $this->Paginator->sort('employee_id');?></th>
			<th><?php echo $this->Paginator->sort('user_id');?></th>
			<th><?php echo $this->Paginator->sort('department_id');?></th>
			<th><?php echo $this->Paginator->sort('saftyinstructor_id');?></th>
			<th><?php echo $this->Paginator->sort('qualitymanager_id');?></th>
			<th><?php echo $this->Paginator->sort('degree_id');?></th>
			<th><?php echo $this->Paginator->sort('contract_id');?></th>
			<th><?php echo $this->Paginator->sort('hardware_id');?></th>
			<th class="actions"><?php __('Actions');?></th>
	</tr>
	<?php
	$i = 0;
	foreach ($employeedetails as $employeedetail):
		$class = null;
		if ($i++ % 2 == 0) {
			$class = ' class="altrow"';
		}
	?>
	<tr<?php echo $class;?>>
		<td><?php echo $employeedetail['Employeedetail']['id']; ?>&nbsp;</td>
		<td><?php echo $employeedetail['Employeedetail']['login']; ?>&nbsp;</td>
		<td><?php echo $employeedetail['Employeedetail']['phone']; ?>&nbsp;</td>
		<td><?php echo $employeedetail['Employeedetail']['mobilephone']; ?>&nbsp;</td>
		<td><?php echo $employeedetail['Employeedetail']['umts']; ?>&nbsp;</td>
		<td><?php echo $employeedetail['Employeedetail']['seat']; ?>&nbsp;</td>
		<td><?php echo $employeedetail['Employeedetail']['created']; ?>&nbsp;</td>
		<td><?php echo $employeedetail['Employeedetail']['modified']; ?>&nbsp;</td>
		<td>
			<?php echo $this->Html->link($employeedetail['Employee']['last_name'], array('controller' => 'employees', 'action' => 'view', $employeedetail['Employee']['id'])); ?>
		</td>
		<td>
			<?php echo $this->Html->link($employeedetail['User']['last_name'], array('controller' => 'users', 'action' => 'view', $employeedetail['User']['id'])); ?>
		</td>
		<td>
			<?php echo $this->Html->link($employeedetail['Department']['name'], array('controller' => 'departments', 'action' => 'view', $employeedetail['Department']['id'])); ?>
		</td>
		<td>
			<?php echo $this->Html->link($employeedetail['Saftyinstructor']['last_name'], array('controller' => 'saftyinstructors', 'action' => 'view', $employeedetail['Saftyinstructor']['id'])); ?>
		</td>
		<td>
			<?php echo $this->Html->link($employeedetail['Qualitymanager']['last_name'], array('controller' => 'qualitymanagers', 'action' => 'view', $employeedetail['Qualitymanager']['id'])); ?>
		</td>
		<td>
			<?php echo $this->Html->link($employeedetail['Degree']['name'], array('controller' => 'degrees', 'action' => 'view', $employeedetail['Degree']['id'])); ?>
		</td>
		<td>
			<?php echo $this->Html->link($employeedetail['Contract']['name'], array('controller' => 'contracts', 'action' => 'view', $employeedetail['Contract']['id'])); ?>
		</td>
		<td>
			<?php echo $this->Html->link($employeedetail['Hardware']['name'], array('controller' => 'hardwares', 'action' => 'view', $employeedetail['Hardware']['id'])); ?>
		</td>
		<td class="actions">
			<?php echo $this->Html->link(__('View', true), array('action' => 'view', $employeedetail['Employeedetail']['id'])); ?>
			<?php echo $this->Html->link(__('Edit', true), array('action' => 'edit', $employeedetail['Employeedetail']['id'])); ?>
			<?php echo $this->Html->link(__('Delete', true), array('action' => 'delete', $employeedetail['Employeedetail']['id']), null, sprintf(__('Are you sure you want to delete # %s?', true), $employeedetail['Employeedetail']['id'])); ?>
		</td>
	</tr>
<?php endforeach; ?>
	</table>
	<p>
	<?php
	echo $this->Paginator->counter(array(
	'format' => __('Page %page% of %pages%, showing %current% records out of %count% total, starting on record %start%, ending on %end%', true)
	));
	?>	</p>

	<div class="paging">
		<?php echo $this->Paginator->prev('<< ' . __('previous', true), array(), null, array('class'=>'disabled'));?>
	 | 	<?php echo $this->Paginator->numbers();?>
 |
		<?php echo $this->Paginator->next(__('next', true) . ' >>', array(), null, array('class' => 'disabled'));?>
	</div>
</div>
<div class="actions">
	<h3><?php __('Actions'); ?></h3>
	<ul>
		<li><?php echo $this->Html->link(__('New Employeedetail', true), array('action' => 'add')); ?></li>
		<li><?php echo $this->Html->link(__('List Employees', true), array('controller' => 'employees', 'action' => 'index')); ?> </li>
		<li><?php echo $this->Html->link(__('New Employee', true), array('controller' => 'employees', 'action' => 'add')); ?> </li>
		<li><?php echo $this->Html->link(__('List Users', true), array('controller' => 'users', 'action' => 'index')); ?> </li>
		<li><?php echo $this->Html->link(__('New User', true), array('controller' => 'users', 'action' => 'add')); ?> </li>
		<li><?php echo $this->Html->link(__('List Departments', true), array('controller' => 'departments', 'action' => 'index')); ?> </li>
		<li><?php echo $this->Html->link(__('New Department', true), array('controller' => 'departments', 'action' => 'add')); ?> </li>
		<li><?php echo $this->Html->link(__('List Saftyinstructors', true), array('controller' => 'saftyinstructors', 'action' => 'index')); ?> </li>
		<li><?php echo $this->Html->link(__('New Saftyinstructor', true), array('controller' => 'saftyinstructors', 'action' => 'add')); ?> </li>
		<li><?php echo $this->Html->link(__('List Qualitymanagers', true), array('controller' => 'qualitymanagers', 'action' => 'index')); ?> </li>
		<li><?php echo $this->Html->link(__('New Qualitymanager', true), array('controller' => 'qualitymanagers', 'action' => 'add')); ?> </li>
		<li><?php echo $this->Html->link(__('List Degrees', true), array('controller' => 'degrees', 'action' => 'index')); ?> </li>
		<li><?php echo $this->Html->link(__('New Degree', true), array('controller' => 'degrees', 'action' => 'add')); ?> </li>
		<li><?php echo $this->Html->link(__('List Contracts', true), array('controller' => 'contracts', 'action' => 'index')); ?> </li>
		<li><?php echo $this->Html->link(__('New Contract', true), array('controller' => 'contracts', 'action' => 'add')); ?> </li>
		<li><?php echo $this->Html->link(__('List Hardwares', true), array('controller' => 'hardwares', 'action' => 'index')); ?> </li>
		<li><?php echo $this->Html->link(__('New Hardware', true), array('controller' => 'hardwares', 'action' => 'add')); ?> </li>
		<li><?php echo $this->Html->link(__('List Mailinglists', true), array('controller' => 'mailinglists', 'action' => 'index')); ?> </li>
		<li><?php echo $this->Html->link(__('New Mailinglist', true), array('controller' => 'mailinglists', 'action' => 'add')); ?> </li>
		<li><?php echo $this->Html->link(__('List Sapservers', true), array('controller' => 'sapservers', 'action' => 'index')); ?> </li>
		<li><?php echo $this->Html->link(__('New Sapserver', true), array('controller' => 'sapservers', 'action' => 'add')); ?> </li>
	</ul>
</div>